package com.kehutong.payfees.entity;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

import com.kehutong.payfees.enums.MediationType;
import org.coraframework.orm.annotation.UnSave;

@Table(value = "t_charge_mediation", comment="律师调解", multi = true)
public class ChargeMediation extends Entity {

    private static final long serialVersionUID = 1585640520057902978L;

    protected ChargeMediation(String id) {
        super(id);
        this.mediationStatus = MediationType.PENDING;
    }
    @Column(comment = "小区名称")
    private String communityName;
    @Column(comment = "小区编号")
    private String communityNo;

    @Column(length = 64, comment = "栋名称")
    private String buildingName;
    @Column(comment = "栋编号")
    private String buildingNo;

    @Column(length = 64, comment = "单元名(可为空)")
    private String unitName;

    @Column(comment = "房屋信息")
    private String houseName;
    @Column(comment = "房屋编号")
    private String houseNo;

    @Column(comment = "被申请人No")
    private String respondentNo;
    @Column(comment = "被申请人")
    private String respondent;
    @Column(comment = "被申请人手机号码")
    private String respondentMobile;

    @Column(comment = "账单周期-起")
    private LocalDate billDateFrom;
    @Column(comment = "账单周期-止")
    private LocalDate billDateTo;

    @Column(comment = "欠费金额")
    private BigDecimal oweAmount;

    @Column(length = 512, comment = "欠费账单ids")
    private List<String> chargeBillIds;

    @Column(dbType="TEXT", comment = "争议要点")
    private String disputedPoints;

    @Column(comment = "调解状态")
    private MediationType mediationStatus;

    @Column(comment = "员工No")
    private String employeeNo;

    @Column(comment = "员工姓名")
    private String employeeName;

    @Column(comment = "员工手机号")
    private String mobile;

    @Column(comment = "处理人企业编号")
    private String handlerCompanyNo;
    @Column(comment = "处理人No")
    private String handlerNo;
    @Column(comment = "处理人")
    private String handler;

    @Column(comment = "处理人手机号")
    private String handlerMobile;

    @UnSave
    private List<String> sendRespondentNoList;

    @UnSave
    private String ProvincesCities;

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getBuildingNo() {
        return buildingNo;
    }

    public void setBuildingNo(String buildingNo) {
        this.buildingNo = buildingNo;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getHouseName() {
        return houseName;
    }

    public void setHouseName(String houseName) {
        this.houseName = houseName;
    }

    public String getHouseNo() {
        return houseNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public String getRespondentNo() {
        return respondentNo;
    }

    public void setRespondentNo(String respondentNo) {
        this.respondentNo = respondentNo;
    }

    public String getRespondent() {
        return respondent;
    }

    public void setRespondent(String respondent) {
        this.respondent = respondent;
    }

    public String getRespondentMobile() {
        return respondentMobile;
    }

    public void setRespondentMobile(String respondentMobile) {
        this.respondentMobile = respondentMobile;
    }

    public String getHandlerCompanyNo() {
        return handlerCompanyNo;
    }

    public void setHandlerCompanyNo(String handlerCompanyNo) {
        this.handlerCompanyNo = handlerCompanyNo;
    }

    public String getHandlerNo() {
        return handlerNo;
    }

    public void setHandlerNo(String handlerNo) {
        this.handlerNo = handlerNo;
    }

    public LocalDate getBillDateFrom() {
        return billDateFrom;
    }

    public void setBillDateFrom(LocalDate billDateFrom) {
        this.billDateFrom = billDateFrom;
    }

    public LocalDate getBillDateTo() {
        return billDateTo;
    }

    public void setBillDateTo(LocalDate billDateTo) {
        this.billDateTo = billDateTo;
    }

    public BigDecimal getOweAmount() {
        return oweAmount;
    }

    public void setOweAmount(BigDecimal oweAmount) {
        this.oweAmount = oweAmount;
    }

    public List<String> getChargeBillIds() {
        return chargeBillIds;
    }

    public void setChargeBillIds(List<String> chargeBillIds) {
        this.chargeBillIds = chargeBillIds;
    }

    public String getDisputedPoints() {
        return disputedPoints;
    }

    public void setDisputedPoints(String disputedPoints) {
        this.disputedPoints = disputedPoints;
    }

    public MediationType getMediationStatus() {
        return mediationStatus;
    }

    public void setMediationStatus(MediationType mediationStatus) {
        this.mediationStatus = mediationStatus;
    }

    public String getEmployeeNo() {
        return employeeNo;
    }

    public void setEmployeeNo(String employeeNo) {
        this.employeeNo = employeeNo;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getHandlerMobile() {
        return handlerMobile;
    }

    public void setHandlerMobile(String handlerMobile) {
        this.handlerMobile = handlerMobile;
    }

    public List<String> getSendRespondentNoList() {
        return sendRespondentNoList;
    }

    public void setSendRespondentNoList(List<String> sendRespondentNoList) {
        this.sendRespondentNoList = sendRespondentNoList;
    }

    public String getProvincesCities() {
        return ProvincesCities;
    }

    public void setProvincesCities(String provincesCities) {
        ProvincesCities = provincesCities;
    }
}
